﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace Coldairarrow.Entity.Order
{
    /// <summary>
    /// BTB_RefundMaster
    /// </summary>
    [Table("BTB_RefundMaster")]
    public class BTB_RefundMaster
    {
        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 订单id
        /// </summary>
        public String OrderId { get; set; }

        /// <summary>
        /// 代金券Id
        /// </summary>
        public String VailTicketId { get; set; }

        /// <summary>
        /// 退款原因类型
        /// </summary>
        public String RTypeId { get; set; }

        /// <summary>
        /// 原因说明
        /// </summary>
        public String Resion { get; set; }

        /// <summary>
        /// 上传图片
        /// </summary>
        public String ImgURL { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public String Note { get; set; }

        /// <summary>
        /// 未通过原因
        /// </summary>
        public String NoPassResion { get; set; }

        /// <summary>
        /// 创建者id
        /// </summary>
        public String CreatorId { get; set; }
        /// <summary>
        /// 总数
        /// </summary>
        public int? SumNum { get; set; }

        /// <summary>
        /// 退款总价
        /// </summary>
        public decimal? SumPrice { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 编辑者
        /// </summary>
        public String EditorId { get; set; }

        /// <summary>
        /// 编辑时间
        /// </summary>
        public DateTime? EditTime { get; set; }

        /// <summary>
        /// 支付类型
        /// </summary>
        public int? PayState { get; set; } = 0;
    }
}
